.hide {
  opacity: 0;
  transform: translateY(calc(20vh));
  transition-delay: 0s, 0.6s;
}
.music-detail-card {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  z-index: 1;
  transition: transform 0.6s ease, opacity 0.6s ease;
  position: relative;
  display: flex;
  justify-content: center;

  .glassCard {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    z-index: 1;
    position: absolute;
    opacity: 0.5;
    background-color: #FEFEFE;
  }

  .left {
    z-index: 2;
    width: 40%;
    margin: 15px 0px 0 28px;

    .toList {
      cursor: pointer;

      .iconfont {
        font-size: 13px;
        position: absolute;
        top: 10px;
        left: 10px;
      }
    }

    .discContainer {
      .needle {
        position: relative;
        left: 52%;
        width: 44px;
        height: 36px;
        z-index: 2;
        transition: all 1s;
        transform-origin: 5.3px 5.3px;

        img {
          width: auto;
          height: auto;
          max-width: 100%;
          max-height: 100%;
        }
      }

      // 光碟探头
      .needleRotate {
        transform-origin: 5.3px 5.3px;
        transform: rotate(22deg);
      }

      .disc {
        width: 110px;
        height: 110px;
        position: relative;
        top: -14px;

        // firstChild
        img:nth-child(1) {
          width: 100%;
        }

        .musicAvatar {
          position: absolute;
          z-index: -1;
          width: 70%;
          height: 70%;
          object-fit: cover;
          object-position: center;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
        }
      }

      /* 碟子设置旋转动画 */

      .discAnimation {
        /* infinite动画无限循环 */
        animation: disc 25s linear infinite;
        /* 动画延迟一秒 */
        animation-delay: 0.8s;
      }

      /* 碟子暂停旋转的动画 */

      .pause {
        animation-play-state: paused;
        -webkit-animation-play-state: paused;
      }
    }
  }

  .right {
    max-width: 58%;
    min-width: 58%;
    z-index: 1;
    justify-content: center;

    .musicInfo {
      font-size: 0.9rem;
      color: rgb(22, 22, 22);
      text-align: center;
      margin: 15px 0 0 0;
      width: 100%;

      .music-name {
        margin-right: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .singer {
        width: 100%;
        margin-left: -5px;
        color: #515a6e;
        font-size: 0.8rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1; /* 限制最多显示一行 */
        word-break: break-all; /* 防止长单词换行问题 */
      }
    }

    .lyrics {
      height: 40%;
      font-size: 12px;
      text-align: center;
      overflow-y: scroll;
      margin: 7px 0 10px 0;

      .placeholder {
        height: 20%;
      }

      .lyricsItem {
        font-size: 12px;
        margin: 2px 6px 0 2px;
        transition: all 0.5s;
        line-height: 20px;
      }

      .currentLyric {
        font-weight: 600;
        font-size: 14px;
        color: #fc1717;
      }
    }

    .lyrics div:nth-child(2) {
      margin-top: 10px !important;
    }

    .lyrics::-webkit-scrollbar {
      display: none;
    }
  }
}

/* disc动画 */
@keyframes disc {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
